package com.google.gwt.maps.v3.client.streetview;

import com.google.gwt.core.client.JavaScriptObject;

public abstract class StreetViewServiceCallback {

  public final void callback_(final JavaScriptObject panoData, final String status) {
    final HasStreetViewPanoramaData data = new StreetViewPanoramaData(panoData);
    callback(data, status);
  }
  
  public abstract void callback(final HasStreetViewPanoramaData data, final String status);
  
}
